/*
 * key.c
 *
 * Created: 8/19/2013 1:50:56 PM
 *  Author: Ken Arok
 *
 * \brief The driver of Keypad Device.
 *
 * Copyright (c) 2013 PT Hanindo Automation Solutions. All rights reserved.
 *
 */

#include "keyhal.h"
#include "key.h"

void vEnableKey(void)
{
	key_enable();
}


void vDisableKey(void)
{
	key_disable();
}


void vInitKey(void)
{
	key_init();
}


uint16_t vGetKeyWord(void)
{
	return key_get_word();
}


char vGetKeyChar(void)
{
	return key_get_char();
}


uint16_t vGetKeyCombine(void)
{
	return key_get_combine();
}


char vWaitKeyChar(const char *_stringWaitKey)
{
	return key_wait_keychar(_stringWaitKey);
}


void vWaitKeyRelease(void)
{
	key_wait_release();
}
